/// ht : 0
/// t : ""
/// st : ""
/// s : 0
/// snt : 0
/// l : {"pf":3,"av":"","di":""}
/// m : {"i":"","f":"","fn":"","fh":"","t":"","tt":"","st":"","mt":0,"c":"","u":"","w":"","h":"","fi":"","vt":"","ut":0,"op":"","gi":"","gn":"","gh":""}
/// mhb : {"i":"","s":0,"om":0}
/// c : {"ci":"","cn":"","ch":""}
/// g : {"gId":"","gImg":"","gt":"","gd":"","gp":""}
/// fa : {"i":"","nk":"","h":"","c":"","it":""}
/// gi : {"i":"","a":"","f":"","fn":"","fh":"","gi":"","gn":"","gh":"","it":""}
/// gn : {"id":"","ui":"","un":"","fh":"","t":"","tt":0,"nt":0,"nk":"","ut":0,"gi":"","gn":"","gh":"","c":"","fn":"","st":0}
/// mr : {"i":"","si":"","c":"","m":"","e":0}
/// sn : {"i":"","u":"","t":"","nt":0,"e":"","c":{"n":"","v":""},"st":0,"h":{"c":"","v":"","co":"","b":""}}
/// mc : {"ei":"","i":"","ids":"","rsi":"","red":"","dk":""}
/// i : ""

class MessageModel {
  MessageModel({
      this.ht, 
      this.pf,
      this.t,
      this.st, 
      this.s, 
      this.snt, 
      this.l, 
      this.m, 
      this.mhb, 
      this.c, 
      this.g, 
      this.fa, 
      this.gi, 
      this.gn, 
      this.mr, 
      this.sn, 
      this.mc, 
      this.i,});

  MessageModel.fromJson(dynamic json) {
    ht = json['ht'];
    pf = json['pf'];
    t = json['t'];
    st = json['st'];
    s = json['s'];
    snt = json['snt'];
    l = json['l'] != null ? L.fromJson(json['l']) : null;
    m = json['m'] != null ? M.fromJson(json['m']) : null;
    mhb = json['mhb'] != null ? Mhb.fromJson(json['mhb']) : null;
    c = json['c'] != null ? C.fromJson(json['c']) : null;
    g = json['g'] != null ? G.fromJson(json['g']) : null;
    fa = json['fa'] != null ? Fa.fromJson(json['fa']) : null;
    gi = json['gi'] != null ? Gi.fromJson(json['gi']) : null;
    gn = json['gn'] != null ? Gn.fromJson(json['gn']) : null;
    mr = json['mr'] != null ? Mr.fromJson(json['mr']) : null;
    sn = json['sn'] != null ? Sn.fromJson(json['sn']) : null;
    mc = json['mc'] != null ? Mc.fromJson(json['mc']) : null;
    i = json['i'];
  }
  int? ht;
  int? pf;
  String? t;
  String? st;
  int? s;
  int? snt;
  L? l;
  M? m;
  Mhb? mhb;
  C? c;
  G? g;
  Fa? fa;
  Gi? gi;
  Gn? gn;
  Mr? mr;
  Sn? sn;
  Mc? mc;
  String? i;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['ht'] = ht;
    map['pf'] = pf;
    map['t'] = t;
    map['st'] = st;
    map['s'] = s;
    map['snt'] = snt;
    if (l != null) {
      map['l'] = l?.toJson();
    }
    if (m != null) {
      map['m'] = m?.toJson();
    }
    if (mhb != null) {
      map['mhb'] = mhb?.toJson();
    }
    if (c != null) {
      map['c'] = c?.toJson();
    }
    if (g != null) {
      map['g'] = g?.toJson();
    }
    if (fa != null) {
      map['fa'] = fa?.toJson();
    }
    if (gi != null) {
      map['gi'] = gi?.toJson();
    }
    if (gn != null) {
      map['gn'] = gn?.toJson();
    }
    if (mr != null) {
      map['mr'] = mr?.toJson();
    }
    if (sn != null) {
      map['sn'] = sn?.toJson();
    }
    if (mc != null) {
      map['mc'] = mc?.toJson();
    }
    map['i'] = i;
    return map;
  }

}

/// ei : ""
/// i : ""
/// ids : ""
/// rsi : ""
/// red : ""
/// dk : ""

class Mc {
  Mc({
      this.ei, 
      this.i, 
      this.ids, 
      this.rsi, 
      this.red, 
      this.dk,});

  Mc.fromJson(dynamic json) {
    ei = json['ei'];
    i = json['i'];
    ids = json['ids'];
    rsi = json['rsi'];
    red = json['red'];
    dk = json['dk'];
  }
  String? ei;
  String? i;
  String? ids;
  String? rsi;
  String? red;
  String? dk;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['ei'] = ei;
    map['i'] = i;
    map['ids'] = ids;
    map['rsi'] = rsi;
    map['red'] = red;
    map['dk'] = dk;
    return map;
  }

}

/// i : ""
/// u : ""
/// t : ""
/// nt : 0
/// e : ""
/// c : {"n":"","v":""}
/// st : 0
/// h : {"c":"","v":"","co":"","b":""}

class Sn {
  Sn({
      this.i, 
      this.u, 
      this.t, 
      this.nt, 
      this.e, 
      this.c, 
      this.st, 
      this.h,});

  Sn.fromJson(dynamic json) {
    i = json['i'];
    u = json['u'];
    t = json['t'];
    nt = json['nt'];
    e = json['e'];
    c = json['c'] != null ? Sn_C.fromJson(json['c']) : null;
    st = json['st'];
    h = json['h'] != null ? H.fromJson(json['h']) : null;
  }
  String? i;
  String? u;
  String? t;
  int? nt;
  String? e;
  Sn_C? c;
  int? st;
  H? h;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['i'] = i;
    map['u'] = u;
    map['t'] = t;
    map['nt'] = nt;
    map['e'] = e;
    if (c != null) {
      map['c'] = c?.toJson();
    }
    map['st'] = st;
    if (h != null) {
      map['h'] = h?.toJson();
    }
    return map;
  }

}

/// c : ""
/// v : ""
/// co : ""
/// b : ""

class H {
  H({
      this.c, 
      this.v, 
      this.co, 
      this.b,});

  H.fromJson(dynamic json) {
    c = json['c'];
    v = json['v'];
    co = json['co'];
    b = json['b'];
  }
  String? c;
  String? v;
  String? co;
  String? b;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['c'] = c;
    map['v'] = v;
    map['co'] = co;
    map['b'] = b;
    return map;
  }

}

/// n : ""
/// v : ""

class Sn_C {
  Sn_C({
      this.n, 
      this.v,});

  Sn_C.fromJson(dynamic json) {
    n = json['n'];
    v = json['v'];
  }
  String? n;
  String? v;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['n'] = n;
    map['v'] = v;
    return map;
  }

}

/// i : ""
/// si : ""
/// c : ""
/// m : ""
/// e : 0

class Mr {
  Mr({
      this.i, 
      this.si, 
      this.c, 
      this.m, 
      this.e,});

  Mr.fromJson(dynamic json) {
    i = json['i'];
    si = json['si'];
    c = json['c'];
    m = json['m'];
    e = json['e'];
  }
  String? i;
  String? si;
  String? c;
  String? m;
  int? e;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['i'] = i;
    map['si'] = si;
    map['c'] = c;
    map['m'] = m;
    map['e'] = e;
    return map;
  }

}

/// id : ""
/// ui : ""
/// un : ""
/// fh : ""
/// t : ""
/// tt : 0
/// nt : 0
/// nk : ""
/// ut : 0
/// gi : ""
/// gn : ""
/// gh : ""
/// c : ""
/// fn : ""
/// st : 0

class Gn {
  Gn({
      this.id, 
      this.ui, 
      this.un, 
      this.fh, 
      this.t, 
      this.tt, 
      this.nt, 
      this.nk, 
      this.ut, 
      this.gi, 
      this.gn, 
      this.gh, 
      this.c, 
      this.fn, 
      this.st,});

  Gn.fromJson(dynamic json) {
    id = json['id'];
    ui = json['ui'];
    un = json['un'];
    fh = json['fh'];
    t = json['t'];
    tt = json['tt'];
    nt = json['nt'];
    nk = json['nk'];
    ut = json['ut'];
    gi = json['gi'];
    gn = json['gn'];
    gh = json['gh'];
    c = json['c'];
    fn = json['fn'];
    st = json['st'];
  }
  String? id;
  String? ui;
  String? un;
  String? fh;
  String? t;
  int? tt;
  int? nt;
  String? nk;
  int? ut;
  String? gi;
  String? gn;
  String? gh;
  String? c;
  String? fn;
  int? st;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['id'] = id;
    map['ui'] = ui;
    map['un'] = un;
    map['fh'] = fh;
    map['t'] = t;
    map['tt'] = tt;
    map['nt'] = nt;
    map['nk'] = nk;
    map['ut'] = ut;
    map['gi'] = gi;
    map['gn'] = gn;
    map['gh'] = gh;
    map['c'] = c;
    map['fn'] = fn;
    map['st'] = st;
    return map;
  }

}

/// i : ""
/// a : ""
/// f : ""
/// fn : ""
/// fh : ""
/// gi : ""
/// gn : ""
/// gh : ""
/// it : ""

class Gi {
  Gi({
      this.i, 
      this.a, 
      this.f, 
      this.fn, 
      this.fh, 
      this.gi, 
      this.gn, 
      this.gh, 
      this.it,});

  Gi.fromJson(dynamic json) {
    i = json['i'];
    a = json['a'];
    f = json['f'];
    fn = json['fn'];
    fh = json['fh'];
    gi = json['gi'];
    gn = json['gn'];
    gh = json['gh'];
    it = json['it'];
  }
  String? i;
  String? a;
  String? f;
  String? fn;
  String? fh;
  String? gi;
  String? gn;
  String? gh;
  String? it;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['i'] = i;
    map['a'] = a;
    map['f'] = f;
    map['fn'] = fn;
    map['fh'] = fh;
    map['gi'] = gi;
    map['gn'] = gn;
    map['gh'] = gh;
    map['it'] = it;
    return map;
  }

}

/// i : ""
/// nk : ""
/// h : ""
/// c : ""
/// it : ""

class Fa {
  Fa({
      this.i, 
      this.nk, 
      this.h, 
      this.c, 
      this.it,});

  Fa.fromJson(dynamic json) {
    i = json['i'];
    nk = json['nk'];
    h = json['h'];
    c = json['c'];
    it = json['it'];
  }
  String? i;
  String? nk;
  String? h;
  String? c;
  String? it;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['i'] = i;
    map['nk'] = nk;
    map['h'] = h;
    map['c'] = c;
    map['it'] = it;
    return map;
  }

}

/// gId : ""
/// gImg : ""
/// gt : ""
/// gd : ""
/// gp : ""

class G {
  G({
      this.gId, 
      this.gImg, 
      this.gt, 
      this.gd, 
      this.gp,});

  G.fromJson(dynamic json) {
    gId = json['gId'];
    gImg = json['gImg'];
    gt = json['gt'];
    gd = json['gd'];
    gp = json['gp'];
  }
  String? gId;
  String? gImg;
  String? gt;
  String? gd;
  String? gp;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['gId'] = gId;
    map['gImg'] = gImg;
    map['gt'] = gt;
    map['gd'] = gd;
    map['gp'] = gp;
    return map;
  }

}

/// ci : ""
/// cn : ""
/// ch : ""

class C {
  C({
      this.ci, 
      this.cn, 
      this.ch,});

  C.fromJson(dynamic json) {
    ci = json['ci'];
    cn = json['cn'];
    ch = json['ch'];
  }
  String? ci;
  String? cn;
  String? ch;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['ci'] = ci;
    map['cn'] = cn;
    map['ch'] = ch;
    return map;
  }

}

/// i : ""
/// s : 0
/// om : 0

class Mhb {
  Mhb({
      this.i, 
      this.s, 
      this.om,});

  Mhb.fromJson(dynamic json) {
    i = json['i'];
    s = json['s'];
    om = json['om'];
  }
  String? i;
  int? s;
  int? om;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['i'] = i;
    map['s'] = s;
    map['om'] = om;
    return map;
  }

}

/// i : ""
/// f : ""
/// fn : ""
/// fh : ""
/// t : ""
/// tt : ""
/// st : ""
/// mt : 0
/// c : ""
/// u : ""
/// w : ""
/// h : ""
/// fi : ""
/// vt : ""
/// ut : 0
/// op : ""
/// gi : ""
/// gn : ""
/// gh : ""

class M {
  M({
      this.i, 
      this.f, 
      this.fn, 
      this.fh, 
      this.t, 
      this.tt, 
      this.st, 
      this.mt, 
      this.c, 
      this.u, 
      this.w, 
      this.h, 
      this.fi, 
      this.vt, 
      this.ut, 
      this.op, 
      this.gi, 
      this.gn, 
      this.gh,});

  M.fromJson(dynamic json) {
    i = json['i'];
    f = json['f'];
    fn = json['fn'];
    fh = json['fh'];
    t = json['t'];
    tt = json['tt'];
    st = json['st'];
    mt = json['mt'];
    c = json['c'];
    u = json['u'];
    w = json['w'];
    h = json['h'];
    fi = json['fi'];
    vt = json['vt'];
    ut = json['ut'];
    op = json['op'];
    gi = json['gi'];
    gn = json['gn'];
    gh = json['gh'];
  }
  String? i;
  String? f;
  String? fn;
  String? fh;
  String? t;
  String? tt;
  String? st;
  int? mt;
  String? c;
  String? u;
  double? w;
  double? h;
  String? fi;
  String? vt;
  int? ut;
  String? op;
  String? gi;
  String? gn;
  String? gh;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['i'] = i;
    map['f'] = f;
    map['fn'] = fn;
    map['fh'] = fh;
    map['t'] = t;
    map['tt'] = tt;
    map['st'] = st;
    map['mt'] = mt;
    map['c'] = c;
    map['u'] = u;
    map['w'] = w;
    map['h'] = h;
    map['fi'] = fi;
    map['vt'] = vt;
    map['ut'] = ut;
    map['op'] = op;
    map['gi'] = gi;
    map['gn'] = gn;
    map['gh'] = gh;
    return map;
  }

}

/// pf : 3
/// av : ""
/// di : ""

class L {
  L({
      this.pf, 
      this.av, 
      this.di,});

  L.fromJson(dynamic json) {
    pf = json['pf'];
    av = json['av'];
    di = json['di'];
  }
  int? pf;
  String? av;
  String? di;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['pf'] = pf;
    map['av'] = av;
    map['di'] = di;
    return map;
  }

}